package com.ddpt.platform.common.export.vo.merchant.task;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TaskVo extends QueryDataVo {
    //任务链接
    @Export(value = "任务链接")
    private String taskUrl;

    //任务名
    @Export(value = "任务名")
    private String taskName;

    //任务图
    @Export(value = "任务图")
    private String taskImg;

    //任务描述
    @Export(value = "任务描述")
    private String taskDescription;

    /**
     * 任务类型
     * com.ddpt.platform.merchant.api.enums.TaskTypeEnum
     */
    @Export(value = "任务类型")
    private String taskType;

    /**
     * 验证方式
     * com.ddpt.platform.merchant.api.enums.TaskVerifyEnum
     */
    @Export(value = "验证方式")
    private String verifyType;

    //状态
    @Export(value = "状态",key = {"0","1"},val = {"关闭","开启"})
    private Integer status;

    //任务编码
    @Export(value = "任务编码")
    private String taskCode;

    //约定值
    @Export(value = "约定值")
    private String taskValue;

    //动作类型：跳转链接、对接验证
    @Export(value = "动作类型")
    private String actionType;

    //任务条件表达式
    @Export(value = "任务条件表达式")
    private String jsExpression;

    //前端配置任务条件的元信息
    @Export(value = "前端配置任务条件的元信息")
    private String jsOriginal;

    //平台配置id
    @Export(value = "平台配置id",isStr = true)
    private Long externalMerchantConfigId;

}
